<template>
    <view style="height: 100%">
        <!-- components/upgrading/upgrading.wxml -->
        <view class="imagesize">
            <image class="upgrading" v-if="imgType == 'u0'" src="http://oos-cn.ctyunapi.cn/front-end/static/marketingImg/static/hdno.png" mode="aspectFit"></image>
            <image class="upgrading" v-if="imgType == 's1'" src="http://oos-cn.ctyunapi.cn/front-end/static/marketingImg/static/hdks.png" mode="aspectFit"></image>
            <image class="upgrading" v-if="imgType == 's3'" src="http://oos-cn.ctyunapi.cn/front-end/static/marketingImg/static/hdjs.png" mode="aspectFit"></image>
            <image class="upgrading" v-if="!imgType" src="http://oos-cn.ctyunapi.cn/front-end/static/marketingImg/static/upgrading1.png" mode="aspectFit"></image>
        </view>
        <view class="txt">
            <view class="txt1" v-if="text">
                {{ text }}
                <text class="time">{{ textTime }}</text>
                {{ text2 }}
            </view>
            <!-- <view class="txt2">{{ text1 }}</view> -->
            <!-- <view class="txt2">我们将尽快恢复服务，给您造成的不便，敬请谅解~</view> -->

            <!-- 营销获客增加  imgType -->
        </view>
    </view>
</template>

<script lang="ts">
// import zpMixins from '@/uni_modules/zp-mixins/index';
// components/upgrading/upgrading.ts
export default {
    data() {
        return {};
    },
    /**
     * 组件的属性列表
     */
    props: {
        text: {
            type: String,
            default: '系统正在升级维护中'
        },
        text1: {
            type: String,
            default: '我们将尽快恢复服务，给您造成的不便，敬请谅解~'
        },
        text2: {
            type: String,
			default: ''
        },
        imgType: {
            type: String,
			default: ''
        },
        textTime: {
            type: String,
			default: ''
        }
    },
    /**
     * 组件的方法列表
     */
    methods: {},
    created: function () {
	},
	mouted(){
	}
}
</script>
<style lang="less" scoped>

.imagesize {
    display: flex;
    height: 900rpx;
    justify-content: center;
    align-items: center;
}
.imagesize .upgrading {
    width: 514rpx;
    height: 398rpx;
}
.txt {
    margin-top: -190rpx;
    display: flex;
    flex-direction: column;
}
.txt1 {
    text-align: center;
    font-size: 32rpx;
    font-family: PingFang SC;
    font-weight: 500;
    color: #1487fa;
    margin-bottom: 38rpx;
}
.txt2 {
    text-align: center;
    font-size: 22rpx;
    font-family: PingFang SC;
    font-weight: 500;
    color: #606266;
}
</style>
